package java_exceptions;

public class Practice8_check {
	int x = 10;
	public static void main(String[] args) 
				throws  IllegalAccessException,
							InstantiationException{
		Class myClass = new Practice8_check().getClass();
		Object obj = myClass.newInstance();
		Practice8_check instance = (Practice8_check) obj;
		
		System.out.println(instance.x);
	}
}
